package com.mscsoft.musicscore;

import com.alibaba.fastjson.annotation.JSONField;

public class Music {
    public final int id;
    public final String title;
    @JSONField(ordinal = 1)
    public final String artist;

    public Music(int id, String title, String artist) {
        this.id = id;
        this.title = title;
        this.artist = artist;
    }

    @Override
    public String toString() {
        return "Music [artist=" + artist + ", id=" + id + ", title=" + title + "]";
    }
}
